import Home from '@/views/home'
import Category from '@/views/category'
import Mine from '@/views/mine'
import Login from '@/views/login'
const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
    name: 'home',
    component: Home,
  },
  {
    path: '/category',
    name: 'category',
    component: Category,
  },
  {
    path: '/mine',
    name: 'mine',
    component: Mine,
  },
  {
    path: '/login',
    name: 'login',
    component: Login,
  },
]

export default routes
